using MediatR;
using ReturnValue;

namespace MES.Server.API.Application.Command.Material_Management
{
    public class AddChildBomCommand : IRequest<ApiResult<int>>
    {
        /// <summary>
        /// 父级BOM的ID
        /// </summary>
        public long ParentBomId { get; set; }
        /// <summary>
        /// Bom编码
        /// </summary>
        public string BomCode { get; set; }
        /// <summary>
        /// Bom名称
        /// </summary>
        public string BomName { get; set; }
        /// <summary>
        /// 所属物料群组外键
        /// </summary>
        public long MaterialGroupId { get; set; }
        /// <summary>
        /// Bom版本
        /// </summary>
        public string BomVersion { get; set; }
        /// <summary>
        /// 工序外键
        /// </summary>
        public long ProcessManagementId { get; set; }
        /// <summary>
        /// 用量
        /// </summary>
        public int UseNum { get; set; }
        /// <summary>
        /// Bom描述
        /// </summary>
        public string BomDesc { get; set; }
        public string CreaterPeople { get; set; }
    }
}
